<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script>
    var oneNum = parseInt(prompt('请输入第一个数'));
    var twoNum = parseInt(prompt('请输入第二个数'));
    if( (oneNum + twoNum) % 2 == 0){
      alert('这个两个数字奇偶性相同');
    }else{
      alert('这个两个数字奇偶性不同');
    }
  </script>
</head>
<body>
  
  
</body>
</html>